{extend name="index_base" /} {block name="seo"}
<title>排行榜 - {$site_config['seo_title']}</title>
<meta name="keywords" content="{$site_config['seo_keyword']}">
<meta name="description" content="{$site_config['seo_description']}">
{/block}
{block name="css"}
<link rel="stylesheet" href="__HOME__/css/rank.css" type="text/css" />
{/block}
{block name="body"}
<div class="bg">
	<img src="__HOME__/images/toptext.png">
	<div class="type">
		<ul>
			<li>
				<a {if !isset($_GET['rank_type'])}class="hover"{/if} href="{:url('index/index/rank')}">实时当天</a>
			</li>
			<li>
				<a {if @$_GET['rank_type'] eq 'month'}class="hover"{/if} href="{:url('index/index/rank')}?rank_type=month">本月榜单</a>
			</li>
			<li class="hover">
				<a {if @$_GET['rank_type'] eq 'all'}class="hover"{/if} href="{:url('index/index/rank')}?rank_type=all">总榜巅峰</a>
			</li>
		</ul>
	</div>
</div>

<article>
	<div>
	<ul class="lists">
		{volist name="ranks" id="vo" key="k"}
			<li class="layui-clear">
				<i class="number">{$k}</i>
				<a href="{:url('index/index/detail',array( 'id'=>$vo.id))}" class="weblogo" target="_blank">
				<img src="{$vo.logo_path}">
				</a>
				<p class="introduce">
					{$vo.site_short_content}
				</p>
				<span class="click">{$vo.view|formatNumber}人点击</span>
				<a href="__ROOT__/html/{$vo.id}.html" class="go" target="_blank">去看看</a>
			</li>
		{/volist}
	</ul>
	</div>
</article>
{/block}